package com.huaifang.yan;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * @author yanhuaifang
 */
@SpringBootApplication
@EnableDubbo
@ImportResource(value = "classpath:dubbo-provider.xml")
public class ProviderApplication002 {

    public static void main(String[] args) {
        //RoundRobinLoadBalance.NAME
        SpringApplication.run(ProviderApplication002.class, args);
    }
}
